<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
    <base href="<%=basePath%>">

    <title><spring:message code="welcome"></spring:message></title>

    <meta http-equiv="pragma" content="no-cache">
    <meta http-equiv="cache-control" content="no-cache">
    <meta http-equiv="expires" content="0">

</head>

<body>
<h2><spring:message code="hi"></spring:message></h2>
<a href="language/change?language=zh_CN"><spring:message code="Chinese"></spring:message></a>
<a href="language/change?language=en"><spring:message code="English"></spring:message></a><br>
<a href="language/change?language=en">测试自动部署是否生效</a>
<br/><br/>
<a href="index/something"><spring:message code="OtherPage"></spring:message></a>
<form action="/date/fmt" method="post">
    时间：<input type="text" name="dateClasses[0].date"/><br>
    名称：<input type="text" name="dateClasses[0].name"><br>
    时间：<input type="text" name="dateClasses[1].date"/><br>
    名称：<input type="text" name="dateClasses[1].name"><br>
    时间：<input type="text" name="dateClasses[2].date"/><br>
    名称：<input type="text" name="dateClasses[2].name"><br>
    <input type="submit" value="submit"/>
</form>
</body>
</html>
